import Vue from 'vue'
import VueRouter from 'vue-router'

import app from './app.vue'
import login from './login.vue'
import manage from './manage.vue'
import store from './store'

const router = new VueRouter({
    routes: [
        { path: '/login', component: login },
        { path: '/manage', component: manage }
    ]
})

Vue.use(VueRouter)
new Vue({
    store,
    router,
    render: h => h(app)
}).$mount('#app')